<?php
/**
 * Home code file
 * @package WordPress
 * @subpackage wp-dev
 */
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head>
	<?php get_header(); ?>
</head>
<body>	
	<!-- Wrapper -->
	<div id="page">
		<?php include(TEMPLATEPATH . '/dev/includes/header.php'); ?>
		<!-- Content -->
		<div class="content">
			<!-- Posts -->
			<div id="container">
					
				<div class="wrapper">
					<p class="page-info">
						<?php _e('Search Results for:', 'interface'); ?> <strong>&quot;<?php the_search_query();?>&quot;</strong>
					</p>
					<!-- início do código The loop -->
					<?php if(have_posts()): ?>
							<?php while(have_posts()): the_post();?>
							
						<!-- Posts-->
						<div class="post">
							<h2 class="post-title">
								<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title() ?></a>
							</h2>
							<div class="entry">
									<?php the_excerpt('leia mais...');?>
								</div>
								<div class="post-meta">
								<span class="posted">
									Publicado em, <abbr class="published"> <?php the_time('F j, Y') ?></abbr> por <?php the_author_posts_link(); ?>
								</span><br />
								<span class="post-cat">Categoria: <?php the_category(', ') ?></span><br />
								<span class="taxonomy">Tags: <?php the_tags( '', ',', '' ); ?></span>
								</div>
							</div>
						
						<!-- // Posts -->
							<?php endwhile;?>
					<?php endif; ?>
					<!-- //The loop -->
						
						</div>
						
				<?php get_sidebar();?>
			</div>
			<!-- // Posts -->
		</div>
		<!-- // Content -->
		<?php include(TEMPLATEPATH . '/dev/includes/footer.php'); ?>
	<!-- // Wrapper -->
	</div>
		
<?php get_footer(); ?>
</body>
</html>